package com.neusoft.neuiotms.dcam.workflow.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcam.workflow.model.JieyongSL;

public interface JieyongSLRepository extends JpaRepository<JieyongSL, Long>, CustomizedJieyongSLRepository {

    JieyongSL findByTaskId(String taskId);

    JieyongSL findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    List<JieyongSL> findByWorkOrderNum(String workOrderNum);

    JieyongSL findTopByWorkOrderNumOrderByCreateTimeDesc(String workOrderNum);
}
